﻿using System;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text.Json.Serialization;

[Table("QHSE_XY_GENERAL_VIOLATION")]
public class QHSESysXyGeneralViolation : EntityBase
{
    public QHSESysXyGeneralViolation()
    {
    }


    /// <summary>
    /// ID
    /// </summary>
    [Column("GENERAL_VIOLATION_ID")]
    [MaxLength(32)]
    [Key]
    public string GeneralViolationId { get; set; } = "";

    /// <summary>
    /// 违章性质编码
    /// </summary>
    [Column("VIOLATION_TYPE_CODE")]
    [MaxLength(32)]
    public string? ViolationTypeCode { get; set; }

    /// <summary>
    /// 编号
    /// </summary>
    [Column("NO")]
    [MaxLength(32)]
    public string? No { get; set; }

    /// <summary>
    /// 描述
    /// </summary>
    [Column("DESCRIPTION")]
    [MaxLength(1000)]
    public string? Description { get; set; }

    /// <summary>
    /// 备注
    /// </summary>
    [Column("NOTE")]
    [MaxLength(200)]
    public string? Note { get; set; }

}
